package com.qf.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.qf.entity.OrderDetail;
import com.qf.mapper.OrderDetailMapper;
import com.qf.service.IOrderDetailService;
import com.qf.service.IOrderService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class OrderDetailServiceImpl extends ServiceImpl<OrderDetailMapper, OrderDetail> implements IOrderDetailService {
    @Override
    public void batchInsertOrderDetail(List<OrderDetail> orderDetails, Integer tableIndex) {
        baseMapper.batchInsertOrderDetail(orderDetails,tableIndex);
    }
}
